/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm.dao;

import org.orm.*;
import orm.*;

public interface PreguntaDAO {
	public Pregunta loadPreguntaByORMID(int pre_id) throws PersistentException;
	public Pregunta getPreguntaByORMID(int pre_id) throws PersistentException;
	public Pregunta loadPreguntaByORMID(int pre_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta getPreguntaByORMID(int pre_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta loadPreguntaByORMID(PersistentSession session, int pre_id) throws PersistentException;
	public Pregunta getPreguntaByORMID(PersistentSession session, int pre_id) throws PersistentException;
	public Pregunta loadPreguntaByORMID(PersistentSession session, int pre_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta getPreguntaByORMID(PersistentSession session, int pre_id, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta[] listPreguntaByQuery(String condition, String orderBy) throws PersistentException;
	public Pregunta[] listPreguntaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta[] listPreguntaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pregunta[] listPreguntaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta loadPreguntaByQuery(String condition, String orderBy) throws PersistentException;
	public Pregunta loadPreguntaByQuery(String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta loadPreguntaByQuery(PersistentSession session, String condition, String orderBy) throws PersistentException;
	public Pregunta loadPreguntaByQuery(PersistentSession session, String condition, String orderBy, org.hibernate.LockMode lockMode) throws PersistentException;
	public Pregunta createPregunta();
	public boolean save(orm.Pregunta pregunta) throws PersistentException;
	public boolean delete(orm.Pregunta pregunta) throws PersistentException;
	public boolean deleteAndDissociate(orm.Pregunta pregunta) throws PersistentException;
	public boolean deleteAndDissociate(orm.Pregunta pregunta, org.orm.PersistentSession session) throws PersistentException;
	public boolean refresh(orm.Pregunta pregunta) throws PersistentException;
	public boolean evict(orm.Pregunta pregunta) throws PersistentException;
	public Pregunta loadPreguntaByCriteria(PreguntaCriteria preguntaCriteria);
	public Pregunta[] listPreguntaByCriteria(PreguntaCriteria preguntaCriteria);
}
